Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed compatibility for ghidrathon and jython #65

Merged
merged 1 commit into from
Aug 19, 2024
Merged

fixed compatibility for ghidrathon and jython #65

merged 1 commit into from
Aug 19, 2024

Conversation

TheEquus
Copy link
Contributor

Fixes #62

Currently the script uses currentProgram() as a function call which is used by Ghidrathon but not Ghidra's Jython. Changing the function call to getCurrentProgram() works for both.

Tested on Ghidra 11.1.2, both with and without Ghidrathon.

@stevemk14ebr stevemk14ebr merged commit 82e128d into mandiant:master Aug 19, 2024
2 checks passed
@stevemk14ebr
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ghidra script not compatible with ghidra 10.3?
2 participants